# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: Exp $

inherit distutils

DESCRIPTION="sidesms e' una utility che permette di inviare sms a numeri Vodafone Omnitel"
SRC_URI="http://www.sideralis.net/download/${P}.tar.bz2"
HOMEPAGE="http://www.sideralis.net"


IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64 ~ppc ~ia64"

RDEPEND="gtk? (
    >=x11-libs/gtk+-2.6.0
    >=dev-python/pygtk-2.6.0
    )"

DEPEND="${RDEPEND}
       >=dev-lang/python-2.4.0"

src_install() {
       distutils_src_install
       dodir /usr/bin
       dosym /usr/local/share/sidesms/sidesms.py /usr/bin/sidesms
       dosym /usr/local/share/sidesms/sidesms_gui.py /usr/bin/sidesms_gui
}
